//
//  PickCommentCell.m
//  Shengzhuli
//
//  Created by subook on 2017/8/14.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "PickCommentCell.h"

@implementation PickCommentCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self configUI];
    }
    return self;
}
- (void)configUI {
    
    _singleCommentLabel = [[UILabel alloc] initWithFrame:(CGRectMake(10, 0, ScreenW-20, 30))];
    _singleCommentLabel.numberOfLines = 0;
    _singleCommentLabel.font = [UIFont systemFontOfSize:14];
    _singleCommentLabel.textColor = [UIColor grayColor];
    
    [self.contentView addSubview:_singleCommentLabel];

}
- (void)setTextWithModelData:(NSString *)string {
    self.singleCommentLabel.text = string;
}
- (void)clickSeeMore {
    
    if (self.seeMoreBlock) {
        self.seeMoreBlock();
    }
}



- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
